package com.niubility.dao;

import com.niubility.entity.Article;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CheckAriticDao {
    public int Save(Article dep);
    public int Delete(@Param("masterid") int masterid, @Param("title") String title);
    public List<Article> Select(@Param("masterid") int masterid, @Param("title") String title);
    public List<Article> LoadAll(@Param("start") int start, @Param("num") int num);
    public int PageNum(@Param("num") int num);
}
